add element to this array

65

$b=array("product"=>"$product","quantity"=>$quantity);
array_push($_SESSION['cart'],$b); // Items added to cart

Comments

Submit
0 Comments